/*
package com.winning.sjzc.zyml.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;

*/
/**
 * description 树形通用实体类
 * @author yanxf@winning.com.cn
 * @date 2019/8/20 9:26
 *//*

public class TreeEntity<T> implements Serializable {

    private T model;
   public T getModel() {
        return model;
    }
    public void setModel(T model) {
        this.model = model;
    }
    private List<TreeEntity<T>> children;

    public List<TreeEntity<T>> getChildren() {
        return children;
    }
    public void setChildren(List<TreeEntity<T>> children) {
        if(this.children ==null){
            this.children= new ArrayList<>();
        }
        this.children = children;
    }
}
*/
